HEX
Server: Apache/2.4.68 (Debian)
System: Linux as-cs-widget-demo-us-central1 6.1.0-44-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64
User: root (0)
PHP: 8.2.32
Disabled: NONE
Upload Files
File: /var/www/kevin-demo/wp-content/plugins/adthrive-ads/components/ads/partials/insertion-includes.php
<?php
/**
 * Adthrive-ad CSS and site ads for div insertion
 *
 * @package AdThrive Ads
 */

?>
<style data-no-optimize="1" data-cfasync="false">
	.adthrive-ad {
		margin-top: 10px;
		margin-bottom: 10px;
		text-align: center;
		overflow-x: visible;
		clear: both;
		line-height: 0;
	}
	<?php
		// phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped
		echo $data['site_css'];
		// phpcs:enable
	?>
</style>
<script data-no-optimize="1" data-cfasync="false">
	window.adthriveCLS = {
		enabledLocations: ['Content', 'Recipe'],
		injectedSlots: [],
		injectedFromPlugin: true,
		<?php
			echo isset( $data['cls_branch'] ) ? "branch: '" . esc_js( $data['cls_branch'] ) . "'," : '';
			echo isset( $data['cls_bucket'] ) ? "bucket: '" . esc_js( $data['cls_bucket'] ) . "'," : '';
		?>
		<?php if ( in_array( 'adthrive-disable-video', $body_classes, true ) ) : ?>
			videoDisabledFromPlugin: true,
		<?php endif; ?>
	};
	<?php
		// phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped
		echo 'window.adthriveCLS.siteAds = ' . $data['site_js'] . ';';
		// phpcs:enable
	?>
</script>